home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / icon tools / opticon-1.8 / dmakefile < prev    next >
Makefile  |  1996-04-07  |  1KB  |  56 lines

  1. # $VER: DMakefile for OptIcon and Icon2C as of Thu Feb  3 03:09:58 1994
  2. #
  3. # (c)Copyright 1994 by Tobias Ferber
  4. #
  5. # This file is part of the Icon2C and OptIcon distribution.
  6. #
  7. # Icon2C and OptIcon are free software; you can redistribute them and/or
  8. # modify them under the terms of the GNU General Public License as published
  9. # by the Free Software Foundation; either version 1 of the License,
  10. # or (at your option) any later version.
  11. #
  12. # Icon2C and Opticon are distributed in the hope that they will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with these programs; see the file COPYING.  If not, write to
  19. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21. CC=dcc
  22. CFLAGS=-3.1 -s -DDEBUG
  23.  
  24. all: icon2c opticon docs
  25.  
  26. # --- opticon
  27.  
  28. opticon: opticon.o memfn.o
  29.     $(CC) $(CFLAGS) -o%(left) %(right)
  30.  
  31. opticon.o: opticon.c
  32.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  33.  
  34. memfn.o: memfn.c
  35.     $(CC) $(CFLAGS) -c -o%(left) %(right)
  36.  
  37. # --- icon2c
  38.  
  39. icon2c: icon2c.c
  40.     $(CC) $(CFLAGS) -o%(left) %(right)
  41.  
  42. # --- docs
  43.  
  44. docs:
  45.     autodoc -C opticon.c > opticon.doc
  46.     autodoc -C icon2c.c > icon2c.doc
  47.  
  48. # ---
  49.  
  50. clean:
  51.     delete quiet opticon opticon.o memfn.o icon2c
  52.  
  53. dist: all
  54.     copy `cpdist -n` ram:opticon
  55.  
  56.